kortsoft.kmx.deployer
Class JarDeployer
java.lang.Object
kortsoft.kmx.deployer.BaseDeployer
kortsoft.kmx.deployer.JarDeployer
- All Implemented Interfaces:
- Deployer
public class JarDeployer
- extends BaseDeployer
- implements Deployer
Deploys a jar File in the server, adding a new Class Loader with the URL
of the jar file.
View Source
- Version:
- $Revision: 1.1 $
- Author:
- Alvaro
Method Summary |
void |
deployElement(java.io.File file)
Deploys the Jar File. |
protected javax.management.MBeanServer |
getMBeanServer()
|
java.lang.ClassLoader |
getParent()
|
void |
setMBeanServer(javax.management.MBeanServer server)
Sets the mbean Server for registering deploys. |
void |
setParent(java.lang.ClassLoader parent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarDeployer
public JarDeployer()
deployElement
public void deployElement(java.io.File file)
- Deploys the Jar File.
- Specified by:
deployElement
in interface Deployer
- See Also:
kortsoft.kmx.deployer.Deployer#deployElement(java.io.File, java.io.File)
getParent
public java.lang.ClassLoader getParent()
- Returns:
- Returns the parent.
setParent
public void setParent(java.lang.ClassLoader parent)
- Specified by:
setParent
in interface Deployer
- Parameters:
parent
- The parent to set.
setMBeanServer
public void setMBeanServer(javax.management.MBeanServer server)
- Sets the mbean Server for registering deploys.
If server is null or not setted, the first MBeanServer
is taken.
- Specified by:
setMBeanServer
in interface Deployer
- See Also:
Deployer.setMBeanServer(javax.management.MBeanServer)
getMBeanServer
protected javax.management.MBeanServer getMBeanServer()
Copyright © 2005 Kortsoft. All Rights Reserved.